How Create First Project in Android Studio

  Create First Project in Android Studio with Java

  1. Open Android Studio and select "Start a new Android Studio project" from the welcome screen.

  2. Choose "Empty Activity" and click "Next".

  3. Give your project a name and choose a location to save it.

  4. Select the minimum SDK version you want to support. It's recommended to choose a version that covers a large percentage of devices.

  5. Click "Finish" and wait for Android Studio to create your project.

  6. Once the project is created, you will see the project structure on the left-hand side of the screen.

  7. Open the "MainActivity.java" file and you will see the code for your first activity.

  8. Run the project by clicking the green "Run" button at the top of the screen or by pressing "Shift + F10".

  9. Choose a device or emulator to run the app on and click "OK".

  10. Wait for the app to build and run on the device or emulator.

Congratulations! You have successfully created and run your first Android Studio project.



 Create First Project in Android Studio with Kotline

  1. Open Android Studio and select "Start a new Android Studio project" from the welcome screen.

  2. Choose "Empty Activity" and click "Next".

  3. Give your project a name and choose a location to save it.

  4. Select the minimum SDK version you want to support. It's recommended to choose a version that covers a large percentage of devices.

  5. Choose "Kotlin" as the language for your project.

  6. Click "Finish" and wait for Android Studio to create your project.

  7. Once the project is created, you will see the project structure on the left-hand side of the screen.

  8. Open the "MainActivity.kt" file and you will see the code for your first activity written in Kotlin.

  9. Run the project by clicking the green "Run" button at the top of the screen or by pressing "Shift + F10".

  10. Choose a device or emulator to run the app on and click "OK".

  11. Wait for the app to build and run on the device or emulator.

Congratulations! You have successfully created and run your first Android Studio project using Kotlin.

Comments

Post a Comment

Popular posts from this blog

Difference between the session.getAttribute() and session.getValue() : methods in JSP

How to setup first project in android studio with jetpack compose

Jetpack Compose